import mockRequests from "./mockAjax"
//二次封装的 axios
import requests from "./ajax";

 
//测试接口
export const  reqgetActiveCities = () =>requests.get('/getActiveCities');
// 获得食物
export const reqMainFoodsData = ()=>mockRequests.get('/index');
// 获得三级菜单
export const reqgetCategoryData = () =>requests.get(`/getCategoryData`);
// 获得登录接口
export const reqSearchRes = (keyword)=>requests({url:`/search?keyword=${keyword}`,method:"post"});
// 获得详情
export const reqgetDetailList = (id) =>requests({url:`/shop/${id}`,method:'get'})


